package main

import (
	"diablo-gin/Inits"
	"diablo-gin/configs"
	"diablo-gin/routers"
	"strconv"
)

func main() {
	g := Inits.GinInit()                                             //初始化
	routers.RouterInit(g)                                            //路由
	_ = g.Run(configs.WebHost + ":" + strconv.Itoa(configs.WebPort)) // 指定端口运行
}
